package com.bosssoft.rbac.controller;

import com.bosssoft.rbac.model.R;
import org.springframework.web.bind.annotation.*;

/**
 * @author MaYunFei
 * @ProjectName boss-rbac
 * @Description TODO
 * @time 2022/7/8 16:36
 */
@RestController
@RequestMapping("/test/feign")
public class FeignTestController {

    @GetMapping
    R<String> getTest() {
        return R.ok("get success!");
    }

    @PostMapping
    R<String> getPost() {
        return R.ok("post success!");
    }

    @PutMapping
    R<String> getPut() {
        return R.ok("put success!");
    }
}
